const express = require('express')
const router = express.Router()
// 会员等级表控制器
const memberLevelController = require('../controllers/memberLevelController')

// 获取会员等级列表
router.get('/getMemberLevelList', memberLevelController.memberLevelList)

// 新增会员等级
router.post('/addMemberLevel', memberLevelController.addMemberLevel)

// 修改会员等级
router.post('/updateMemberLevel', memberLevelController.updateMemberLevel)

// 删除会员等级
router.delete('/deleteMemberLevel', memberLevelController.deleteMemberLevel)

module.exports = router
